﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace BCDto.OA.PageBusiness.PageBusinessConfig
{
    /// <summary>
    /// 页面业务配置
    /// </summary>
    public class PageBusinessConfigRequestDto
    {
        /// <summary>
        /// 页面业务编码
        /// </summary>		
        [Display(Name = "页面业务编码")]
        [StringLength(150,MinimumLength =3,ErrorMessage ="{0} 长度应为3-150个字符之间")]
        public string PageBusinessCode { get; set; }
        /// <summary>
        /// 页面业务名称
        /// </summary>
        [Display(Name = "页面业务名称")]
        [StringLength(50, MinimumLength = 3, ErrorMessage = "{0} 长度应为3-50个字符之间")]
        public string PageBusinessName { get; set; }
    }
}
